home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6755 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.5 KB  |  56 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!milyng
  3. From: mikael@pobox.com (Mikael Lyngvig)
  4. Subject: Re: Final Call for: DOSXNT what is it?
  5. Message-ID: <milyngDMnLnF.FE0@netcom.com>
  6. Sender: milyng@netcom15.netcom.com
  7. Organization: Hacker's Paradise, Inc.
  8. X-Newsreader: WinVN 0.99.7
  9. References: <311B7E5E.10E2@biomed.gla.ac.uk>
  10. Date: Mon, 12 Feb 1996 08:16:27 GMT
  11.  
  12. In article <311B7E5E.10E2@biomed.gla.ac.uk>, G.McLellan@biomed.gla.ac.uk 
  13. says...
  14.  
  15. >I'm posting the message below again in the hope of eliciting a response 
  16. >as to what these files do. I did have one helpful reply concerning the 
  17. >background to these files, but I'm still no wiser as to their purpose. 
  18. >Any offers?
  19. >
  20. >>DOSXNT.EXE and DOSXNT.386? What exactly are these files? And what do 
  21. >>they do? Especially in the context of MSVC++ programming.
  22. >
  23. >>I've encountered references to these files in the build errors help file 
  24. >>of MSVC++ 1.0.
  25.  
  26. Okay, I actually considered to reply to one of your previous mails, but 
  27. decided not to because I only know so much about it.
  28.  
  29. The two files are part of the DOS extender (Phar Lap's TNT DOS Extender, I 
  30. believe) used by MSVC 1.0 (both in the 16-bit and in the 32-bit edition).  The 
  31. primary purpose of these files, which may be what you call background 
  32. information, is to "emulate" Windows NT's 32-bit API under DOS.  To a limited 
  33. extent, DOSXNT.EXE allows Windows NT programs to be executed under DOS.  
  34. However, due to the difference in nature between NT and DOS, only a small 
  35. subset of NT's functionality is available in DOSXNT (and therefore it can 
  36. usually only be used by apps written to conform to this subset).
  37.  
  38. In the context of MSVC programming, they have no purpose (to the best of my 
  39. knowledge).  You should not need to worry about them, and you cannot use them 
  40. in any way.  The only reason they're included, is that they are needed by 
  41. CL.EXE and probably a few more.  I.e., they are used to run MSVC, not to run 
  42. things developed with MSVC.  I believe Microsoft dropped Phar Lap's DOS 
  43. extender for version 2.0 of their MSVC compiler (the 32-bit edition), which 
  44. means you cannot run MSVC v2.0 (CL.EXE) under DOS anymore, but I guess 
  45. Microsoft had a reason and it probably isn't a great loss anyway (who would 
  46. develop Windows NT apps without being able to run NT apps???).
  47.  
  48. The only reason you should need to know about them, is that you need to 
  49. install DOSXNT.386 in some Windows .INI file in order to run MSVC v1.0 under 
  50. Windows (I think - I don't know, and I don't really want to know.  MSVC 1.0 is 
  51. kind of old, anyway).
  52.  
  53.  
  54. Mikael
  55.  
  56.